package com.jkhan.design.factory;

import java.util.concurrent.TimeUnit;

/**
 * @ClassName ICacheService
 * @Description ICacheService
 * @Author hjk
 * @Date 2023/1/9 22:26
 **/
public interface ICacheAdapter {

    String get(String key);

    void set(String key, String value);

    void set(String key, String value, long timeout, TimeUnit timeUnit);

    void del(String key);

}
